package com.scalar.chiptrack.users.forms;

import com.scalar.chiptrack.ChipTrackActionForm;


public class ClientInfoForm extends ChipTrackActionForm
{

    private String clientName   = null;
    private String address1     = null;
    private String address2     = null;
    private String address3     = null;
    private String address4     = null;
    private String city         = null;
    private String state        = null;
    private String zipCode      = null;
    private String country      = null;
    private String phoneNumber  = null;
    private String faxNumber    = null;
    private String email        = null;
	private String ccatsNumber  = null;
    private String bankName     = null;
    private String bankAddress  = null;
    private String bankCity     = null;
    private String bankState    = null;
    private String bankZipCode  = null;
    private String bankCountry  = null;
    private String aba          = null;
    private String acct         = null;
    private String swiftCode    = null;
    private String bankNames    = null;
    private int bankId          = -1;
    private int jitWindow       = 0;
    private int shipJitWindow   = 0;

    private String salesOrderPrefix     = null;
    private int salesOrderLength        = 0;

    private String quotationPrefix      = null;
    private int quotationLength         = 0;

    private String rmaPrefix            = null;
    private int rmaLength               = 0;

    private String psPrefix             = null;
    private int psLength                = 0;

    private String purchaseOrderNoPrefix = null;
    private int purchaseOrderNoLength   = 0;

    private String autoReceiptNoPrefix  = null;
    private int autoReceiptNoLength     = 0;

    private String programReleasePrefix = null;
    private int programReleaseLength    = 0;

    private String sortReleasePrefix    = null;
    private int sortReleaseLength       = 0;

    private String assmReleasePrefix    = null;
    private int assmReleaseLength       = 0;

    private String shiprequestPrefix    = null;
    private int shiprequestLength       = 0;

    private String testReleasePrefix    = null;
    private int testReleaseLength       = 0;


    private int sortProcessTime         = 0;
    private int assemblyProcessTime     = 0;

    private int shippingLocationId      =0;

    public String getClientName()
    {
        return clientName;
    }

    public void setClientName( String clientName )
    {
        this.clientName = clientName;
    }

    public String getSalesOrderPrefix()
    {
        return salesOrderPrefix;
    }

    public void setSalesOrderPrefix( String salesOrderPrefix )
    {
        this.salesOrderPrefix = salesOrderPrefix;
    }

    public int getSalesOrderLength()
    {
        return salesOrderLength;
    }

    public void setSalesOrderLength( int salesOrderLength )
    {
        this.salesOrderLength = salesOrderLength;
    }

    public String getQuotationPrefix()
    {
        return quotationPrefix;
    }

    public void setQuotationPrefix( String quotationPrefix )
    {
        this.quotationPrefix = quotationPrefix;
    }

    public int getQuotationLength()
    {
        return quotationLength;
    }

    public void setQuotationLength( int quotationLength )
    {
        this.quotationLength = quotationLength;
    }

    public String getAddress1()
    {
        return address1;
    }

    public void setAddress1( String address1 )
    {
        this.address1 = address1;
    }

    public String getAddress2()
    {
        return address2;
    }

    public void setAddress2( String address2 )
    {
        this.address2 = address2;
    }

    public String getAddress3()
    {
        return address3;
    }

    public void setAddress3( String address3 )
    {
        this.address3 = address3;
    }

    public String getAddress4()
    {
        return address4;
    }

    public void setAddress4( String address4 )
    {
        this.address4 = address4;
    }

    public String getCity()
    {
        return city;
    }

    public void setCity( String city )
    {
        this.city = city;
    }

    public String getState()
    {
        return state;
    }

    public void setState( String state )
    {
        this.state = state;
    }

    public String getZipCode()
    {
        return zipCode;
    }

    public void setZipCode( String zipCode )
    {
        this.zipCode = zipCode;
    }

    public String getCountry()
    {
        return country;
    }

    public void setCountry( String country )
    {
        this.country = country;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }

    public void setPhoneNumber( String phoneNumber )
    {
        this.phoneNumber = phoneNumber;
    }

    public String getFaxNumber()
    {
        return faxNumber;
    }

    public void setFaxNumber( String faxNumber )
    {
        this.faxNumber = faxNumber;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail( String email )
    {
        this.email = email;
    }
	
	public String getCcatsNumber(){

        if ( ccatsNumber == null || "NULL".equalsIgnoreCase(ccatsNumber) ){
            ccatsNumber = "";
        }

		return ccatsNumber;
	}

	public void setCcatsNumber(String ccatsNumber){
		this.ccatsNumber = ccatsNumber;
	}

    public String getBankName()
    {
        return bankName;
    }

    public void setBankName( String bankName )
    {
        this.bankName = bankName;
    }

    public String getBankNames()
    {
        return bankNames;
    }

    public void setBankNames( String allBankNames )
    {
        bankNames = allBankNames;
    }

    public int getBankId()
    {
        return bankId;
    }

    public void setBankId( int bankid )
    {
        bankId = bankid;
    }

    public String getBankAddress()
    {
        return bankAddress;
    }

    public void setBankAddress( String bankAddress )
    {
        this.bankAddress = bankAddress;
    }

    public String getBankCity()
    {
        return bankCity;
    }

    public void setBankCity( String bankCity )
    {
        this.bankCity = bankCity;
    }

    public String getBankState()
    {
        return bankState;
    }

    public void setBankState( String bankState )
    {
        this.bankState = bankState;
    }

    public String getBankZipCode()
    {
        return bankZipCode;
    }

    public void setBankZipCode( String bankZipCode )
    {
        this.bankZipCode = bankZipCode;
    }

    public String getBankCountry()
    {
        return bankCountry;
    }

    public void setBankCountry( String bankCountry )
    {
        this.bankCountry = bankCountry;
    }

    public String getAba()
    {
        return aba;
    }

    public void setAba( String aba )
    {
        this.aba = aba;
    }

    public String getAcct()
    {
        return acct;
    }

    public void setAcct( String acct )
    {
        this.acct = acct;
    }

    public String getSwiftCode()
    {
        return swiftCode;
    }

    public void setSwiftCode( String swiftCode )
    {
        this.swiftCode = swiftCode;
    }

    public String getRmaPrefix()
    {
        return rmaPrefix;
    }

    public void setRmaPrefix( String rmaPrefix )
    {
        this.rmaPrefix = rmaPrefix;
    }

    public int getRmaLength()
    {
        return rmaLength;
    }

    public void setRmaLength( int rmaLength )
    {
        this.rmaLength = rmaLength;
    }

    public String getPsPrefix()
    {
        return psPrefix;
    }

    public void setPsPrefix( String psPrefix )
    {
        this.psPrefix = psPrefix;
    }

    public int getPsLength()
    {
        return psLength;
    }

    public void setPsLength( int psLength )
    {
        this.psLength = psLength;
    }

    public int getJitWindow() {
        return jitWindow;
    }

    public void setJitWindow(int jitWindow) {
        this.jitWindow = jitWindow;
    }

    public int getShipJitWindow()
    {
        return shipJitWindow;
    }
    public void setShipJitWindow( int shipJitWindow )
    {
        this.shipJitWindow = shipJitWindow;
    }

    public String getPurchaseOrderNoPrefix() {
        return purchaseOrderNoPrefix;
    }

    public void setPurchaseOrderNoPrefix(String purchaseOrderNoPrefix) {
        this.purchaseOrderNoPrefix = purchaseOrderNoPrefix;
    }

    public int getPurchaseOrderNoLength() {
        return purchaseOrderNoLength;
    }

    public void setPurchaseOrderNoLength(int purchaseOrderNoLength) {
        this.purchaseOrderNoLength = purchaseOrderNoLength;
    }

    public String getAutoReceiptNoPrefix() {
        return autoReceiptNoPrefix;
    }

    public void setAutoReceiptNoPrefix(String autoReceiptNoPrefix) {
        this.autoReceiptNoPrefix = autoReceiptNoPrefix;
    }

    public int getAutoReceiptNoLength() {
        return autoReceiptNoLength;
    }

    public void setAutoReceiptNoLength(int autoReceiptNoLength) {
        this.autoReceiptNoLength = autoReceiptNoLength;
    }

    public String getProgramReleasePrefix() {
        return programReleasePrefix;
    }

    public void setProgramReleasePrefix(String programReleasePrefix) {
        this.programReleasePrefix = programReleasePrefix;
    }

    public int getProgramReleaseLength() {
        return programReleaseLength;
    }

    public void setProgramReleaseLength(int programReleaseLength) {
        this.programReleaseLength = programReleaseLength;
    }

    public String getSortReleasePrefix() {
        return sortReleasePrefix;
    }

    public void setSortReleasePrefix(String sortReleasePrefix) {
        this.sortReleasePrefix = sortReleasePrefix;
    }

    public int getSortReleaseLength() {
        return sortReleaseLength;
    }

    public void setSortReleaseLength(int sortReleaseLength) {
        this.sortReleaseLength = sortReleaseLength;
    }

    public String getAssmReleasePrefix() {
        return assmReleasePrefix;
    }

    public void setAssmReleasePrefix(String assmReleasePrefix) {
        this.assmReleasePrefix = assmReleasePrefix;
    }

    public int getAssmReleaseLength() {
        return assmReleaseLength;
    }

    public void setAssmReleaseLength(int assmReleaseLength) {
        this.assmReleaseLength = assmReleaseLength;
    }

    public int getSortProcessTime() {
        return sortProcessTime;
    }

    public void setSortProcessTime(int sortProcessTime) {
        this.sortProcessTime = sortProcessTime;
    }

    public int getAssemblyProcessTime() {
        return assemblyProcessTime;
    }

    public void setAssemblyProcessTime(int assemblyProcessTime) {
        this.assemblyProcessTime = assemblyProcessTime;
    }

    public String getShiprequestPrefix() {
        return shiprequestPrefix;
    }

    public void setShiprequestPrefix(String shiprequestPrefix) {
        this.shiprequestPrefix = shiprequestPrefix;
    }

    public int getShiprequestLength() {
        return shiprequestLength;
    }

    public void setShiprequestLength(int shiprequestLength) {
        this.shiprequestLength = shiprequestLength;
    }


    public String getTestReleasePrefix() {
        return testReleasePrefix;
    }
                                         
    public void setTestReleasePrefix(String testReleasePrefix) {
        this.testReleasePrefix = testReleasePrefix;
    }

    public int getTestReleaseLength() {
        return testReleaseLength;
    }

    public void setTestReleaseLength(int testReleaseLength) {
        this.testReleaseLength = testReleaseLength;
    }

    public int getShippingLocationId() {
        return shippingLocationId;
    }

    public void setShippingLocationId(int shippingLocationId) {
        this.shippingLocationId = shippingLocationId;
    }
}